

// 上传文件接口，data参数为file文件
import {request} from "axios";

export function addFile(data) {
    return request({
        url:"http://localhost:3002/message/file/zhenjian",
        method:"post",
        data: data,
    })
}

export function importData(data) {
    return request({
        url:"/fileUpload/importData",
        method:"get",
        params: data,
    })
}
